import {BlocklyParser,BlocklyNodeFactory,BlocklyRuntime} from "./blockly"

let xml:string = "<xml xmlns=\"https://developers.google.com/blockly/xml\">\n" +
    "  <block type=\"onstart\" id=\";3~vY@bmzxl?Ya4HZ|[f\" x=\"30\" y=\"90\">\n" +
    "    <next>\n" +
    "      <block type=\"text_print\" id=\"s[PX(ub3=8IF/9.2bo:0\">\n" +
    "        <value name=\"TEXT\">\n" +
    "          <shadow type=\"text\" id=\"E%[{Sk]:bD`lj_g^e%W}\">\n" +
    "            <field name=\"TEXT\">abc</field>\n" +
    "          </shadow>\n" +
    "          <block type=\"text\" id=\"bWupdxBS^~0l9u/m![tM\">\n" +
    "            <field name=\"TEXT\">123</field>\n" +
    "          </block>\n" +
    "        </value>\n" +
    "      </block>\n" +
    "    </next>\n" +
    "  </block>\n" +
    "</xml>";

BlocklyParser.parse(xml).execute("start", new Map<string, any>());